<!--
 * @Author: 260156 260156@gree.com.cn
 * @Date: 2022-10-12 13:58:39
 * @LastEditors: 260156 260156@gree.com.cn
 * @LastEditTime: 2022-10-12 14:25:00
 * @FilePath: \gree-zst-web\src\components\tansition\MyTransition.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by 260156 260156@gree.com.cn, All Rights Reserved. 
-->
<template>
  <transition :name="props.name || 'fade'" mode="out-in">
    <slot></slot>
  </transition>
</template>
<script lang="ts" setup>
interface Props {
  name?: string;
}
const props = defineProps<Props>();
</script>
<style lang="scss">
@use "styles/transition.scss";
</style>
